<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>jogdiary2011 create exercise result</title>
</head>
<body>
<p>Hello exercise result Create !!!</p>
<hr/>
<ul>
<c:forEach var="e" items="${f:errors()}">
<li>${f:h(e)}</li>
</c:forEach>
</ul>

<form method="post" action="insert">
<table>
	<tr>
		<td> ExerciseDate </td>
		<td>
			<input type="text" ${f:text("exerciseDate")} class="${f:errorClass('exerciseDate', 'err')}" size="20" maxlength="20" />
		</td>	
	</tr>
	<tr>
		<td> Menu </td>
		<td>
			<input type="text" ${f:text("menu")} class="${f:errorClass('menu', 'err')}" size="20" maxlength="20" />
		</td>	
	</tr>
	<tr>
		<td> Distance </td>
		<td>
			<input type="text" ${f:text("distance")} class="${f:errorClass('distance', 'err')}" size="20" maxlength="20" />
		</td>	
	</tr>
	<tr>
		<td> Second </td>
		<td>
			<input type="text" ${f:text("second")} class="${f:errorClass('second', 'err')}" size="20" maxlength="20" />
		</td>	
	</tr>
	<tr>
		<td> Weather </td>
		<td>
			<input type="text" ${f:text("weather")} class="${f:errorClass('weather', 'err')}" size="20" maxlength="20" />
		</td>	
	</tr>
	<tr>
		<td> Person(nickname) </td>
		<td>
			<input type="text" ${f:text("person")} class="${f:errorClass('person', 'err')}" size="20" maxlength="20" />
		</td>	
	</tr>
	<tr>
		<td> Description </td>
		<td>
			<input type="text" ${f:text("description")} class="${f:errorClass('description', 'err')}" size="100" maxlength="200" />
		</td>	
	</tr>
</table>
<input type="submit" value="Submit"/>
</form>
<br/>
<hr/>
<a href="${f:url('/')}">index</a>
</body>
</html>
